import { createStore } from 'vuex'
import {apiGetOrderDetail} from "@/api";

export default createStore({
  state: {
    loading: false
  },
  mutations: {
    showLoading(state, load) {
      state.loading = load
    }
  },
  actions: {
    setLoading(context,load){
      context.commit("showLoading",load);
    }
  },
  modules: {
  }
})
